﻿using System;
using System.Collections.Generic;
using System.Text;
using IceDog.DNL.CSharp.DesignPattern.DataAccessObjectPattern.StudentManage;

namespace IceDog.DNL.CSharp.DesignPattern.DataAccessObjectPattern.StudentManage
{
    /// <summary>
    /// 数据访问对象接口（Data Access Object Interface） - 该接口定义了在一个模型对象上要执行的标准操作。
    /// </summary>
    public interface IStudentDao
    {
        List<Student> GetAllStudents();
        Student GetStudent(string rollNo);
        void UpdateStudent(Student student);
        void DeleteStudent(Student student);
        void AddStudent(Student student);
    }
}
